package com.fjw.service.impl;

import com.fjw.dao.ClazMapper;
import com.fjw.pojo.Claz;
import com.fjw.service.ClazService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fjw
 * @version 1.0
 * @date 2019/11/1 16:50
 */
@Service
public class ClazServiceImpl implements ClazService {

    @Autowired
    private ClazMapper clazMapper;

    @Override
    public List<Claz> listClaz() {
        return clazMapper.listClaz();
    }

    @Override
    public Integer addClaz(Claz claz) {
        return clazMapper.addClaz(claz);
    }
}
